body {
  margin: 0;
  padding: 0; }

.container {
  max-width: 1000px;
  border: 1px solid transparent;
  margin: auto; }
  .container header {
    background-color: #b7b7b7;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    text-align: center; }
    .container header h2, .container header h3 {
      margin: 0;
      padding: 0; }
    .container header h3 {
      position: relative;
      margin-top: 5px;
      left: 30px; }
    .container header p {
      text-indent: 32px;
      text-align: start;
      margin: 0;
      padding: 10px 0; }
  .container nav {
    height: 35px;
    background-color: lightgray; }
    .container nav ul {
      list-style: none;
      margin: 0;
      padding: 0; }
      .container nav ul a {
        color: grey;
        text-decoration: none;
        padding: 0 10px; }
      .container nav ul a:hover {
        font-weight: bold;
        font-size: 16px;
        color: white; }
    .container nav > ul > li:nth-child(3):hover > ul {
      display: block;
      background-color: #e1e1e1;
      position: absolute;
      padding: 10px; }
      .container nav > ul > li:nth-child(3):hover > ul > li:first-child:hover > ul {
        display: block;
        background-color: #e8e8e8;
        position: absolute;
        padding: 10px;
        left: 80px;
        top: 1px; }
    .container nav > ul ul {
      display: none; }
  .container section {
    display: flex;
    flex-wrap: wrap;
    background-color: #ebebeb; }
    .container section > h1 {
      width: 100%;
      padding-left: 10px; }
    .container section > .product {
      width: 70px;
      margin: 5px;
      text-align: center;
      overflow: hidden; }
      .container section > .product > img {
        width: 100%;
        height: 80px; }
      .container section > .product h5, .container section > .product p {
        margin: 0;
        padding: 0; }
      .container section > .product > p {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        font-size: 0.875em; }
      .container section > .product > p:hover {
        white-space: nowrap;
        width: 1000px;
        position: relative;
        animation: tran linear 15s infinite; }

@keyframes tran {
  0% {
    left: 0; }
  100% {
    left: -1000px; } }
  @media (min-width: 450px) {
    .container header {
      display: block; }
    .container nav {
      margin: 10px 0; }
      .container nav > ul {
        display: block; }
        .container nav > ul > li {
          display: inline-block;
          line-height: 35px; }
      .container nav > h3 {
        display: none; } }
  @media (max-width: 449px) {
    .container header {
      display: none; }
    .container nav {
      margin: 10px 0 10px 0; }
      .container nav > h3 {
        display: block;
        line-height: 35px;
        margin: 0;
        padding: 0;
        padding-left: 10px;
        width: 90px; }
      .container nav > ul {
        display: none; }
      .container nav > .adapPhone {
        display: block;
        background: radial-gradient(white, grey);
        position: absolute;
        padding: 10px; }
        .container nav > .adapPhone > li {
          padding: 5px 0; }
        .container nav > .adapPhone ul {
          position: absolute;
          left: 60px;
          top: 80px; }
    .container section {
      text-align: center;
      justify-content: center; }
      .container section .product {
        width: 45%; }
        .container section .product > img {
          height: 220px; } }
  .container > footer {
    height: 100px;
    background-color: #ededed; }
